<template>
	<view class="contain">
		<view class="info">
			<view class="">
				<text class="txt">提交人:</text>{{info.parentName}}
			</view>
			<view class="">
				<text class="txt">孩子班级:</text>{{info.className}}
			</view>
			<view  class="">
				<text class="txt">联系电话:</text>{{phone}}
			</view>
			<view class="">
				<text class="txt">时间:</text>{{info.createTime}}
			</view>
		</view>
		<view class="bottom">
			<view class="title">
				尊敬的老师:
			</view>
			<view class="content">
				{{info.content}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:{
					
				},
				phone:this.$util.getUser().phone
			}
		},
		onLoad(op){
			console.log('opsssss',op)
			this.info=JSON.parse(op.info)
		}
		}
</script>

<style lang="scss">
	.contain{
		margin: 20rpx 30rpx;
		background-color: #fff;
		border-radius: 14rpx;
		padding: 20rpx 30rpx;
		.info{
			padding: 30rpx 0;
			border-bottom: 1rpx solid #dadbde;
			view{
				margin-bottom: 10rpx;
			}
		}
		.bottom{
			margin-top: 20rpx;
			.title{
				font-weight: 700;
				margin-bottom: 20rpx;
			}
		}
		.txt{
			color:#777;
		}
	}
</style>